Coupling ORACLE with ECLiPSe
نویسندگان
چکیده
We describe the design and implementation of an interface between a Prolog system, ECLiPSe, and the relational database management system, Oracle. ECLiPSe is used to solve sophisticated planning and scheduling problems and sometimes needs to access data stored in a legacy system to do this. A typical ECLiPSe application would be job shop scheduling and a legacy system might be used to store the orders that have to be scheduled by the system. The interface, called CORE, enables the writer of the ECLiPSe application to query the database for both the whole set of answers and tuple-at-a-time. We also describe the use of the interface in an application demonstrator for generating lecture timetables at Imperial College. 1 Motivation The aim of this paper is to explain the requirement for and design of an interface between the Prolog system, ECLiPSe, and the relational database, Oracle. ECLiPSe is used to solve sophisticated planning and scheduling problems and sometimes needs to access data stored in a legacy system such as Oracle. The interface to be presented here enables the developer of the ECLiPSe application to query the database for both tuple-at-a-time and the whole set of answers. This work was carried out on the DTI/EPSRC funded research and development project CHRONOS and was targeted towards writing application demonstrators for real problems. One of the the applications used in the project was an application from Imperial College itself which is described below in detail. The ECLiPSe language is typically used in applications which solve planning and scheduling problems. In the CHRONOS project our focus was on applying it to resource allocation problems, for instance allocating classrooms within lecture timetables. Our task was to write an application that did lecture and tutorial timetabling for departments at Imperial College. Each department has its own lecture rooms which can seat a certain number of students and have various available facilities, such as overhead projectors, videos or computers. Lecturers request a classroom with a certain capacity and facilities and they may also have preferences as to the time of the class. The application program will attempt to timetable the lectures and tutorials. The program takes into account factors such as making sure that the lecture room is large enough for the number of students and tries to take account of individual lecturer's preferences, for example, the lecturer may particularly dislike giving lectures before 10am. 1 The data about …
منابع مشابه
A workflow mining approach for deriving software process models
Technical Skills • Programming Languages: Java, Javascript, C++, C, PL/SQL, XML, XSLT, HTML, Groovy, Scala, Pascal, Delphi, Prolog, Lisp, Assembler, Visual Basic, Perl, Shell, etc... • Component Architectures: Java EE (J2EE JEE6), OSGi /Equinox/Felix, Spring, Corba, Quasar • Java Libraries and Frameworks: Eclipse RCP, Eclipse RAP, Swing, Awt, JSF/Facelets, JavaFX, EJB 2.* 3.*, JMS, JAXB, XStrea...
متن کاملDiscovery of Coupling between Periodic and Aperiodic Variability and X-ray Quasi-periodic Oscillations from Her X–1
We report the discovery of coupling between periodic and aperiodic variability and ∼12-mHz X-ray quasi-periodic oscillations (QPOs) from the X-ray binary pulsar Her X– 1 using data from the Rossi X-Ray Timing Explorer. We found two different couplings, one during the pre-eclipse dips and the other during the normal state of the source, using a method which directly compares the low-frequency po...
متن کاملSimulation Study of Salinity Effect on Polymer Flooding in Core Scale
In this study, simulation of low salinity polymer flooding in the core scale is investigated using Eclipse-100 simulator. For this purpose, two sets of data are used. The first set of data were adopted from the results of experimental studies conducted at the University of Bergen, performed using Berea sandstone and intermediate oil. The second data set, related to sand pack and heavy oil syste...
متن کاملObject Construction by Deduction for a 3 D - Geo - Information System of a Mine
A three-dimensional Geo-Information System (GIS) for planning and operating a mine is described. On a conceptual level, the underlying database is speciied using the notation of Rumbaugh's Object Modeling Technique (OMT). The paper focuses on the problems caused by the implementation of such an Object Oriented Data Model by at relations as provided by a standard RDBMS. A running implementation ...
متن کاملShekhar Bangalore Jagannath
Bounded-exhaustive testing is an automated testing methodology that checks the code under test for all inputs within given bounds: first the user describes a set of test inputs and provides test oracles that can check test outputs; then a tool generates all the test inputs, executes them on the code under test, and checks the test outputs; finally the user inspects the failing tests to submit b...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
دوره شماره
صفحات -
تاریخ انتشار 2007